.app-code-editor {
    width: 100%;
    height: 100%;
    min-width: 300px;
    min-height: 300px;
    position: relative;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 12px 0px;
    border-radius: 4px;
    border-color: red;
    .app-code-editor__header {
        height: 32px;
        padding: 5px 15px;
        display: flex;
        align-items: center;
        z-index: 1;
        font-size: 12px;
        font-weight: 800;
        justify-content: space-between;
        &.app-code-editor__header--hidden {
            display: none;
        }
    }
    .app-code-editor__header__right__toolbar{
        .toolbar-item {
            cursor: pointer;
            padding: 3px;
            color: rgb(157, 165, 180);
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 2px;
        }
        .toolbar-item:hover {
            background-color: rgba(106, 108, 109, 0.31);
        }
    }
    .app-code-editor__content {
        min-height: 278px;
        height: calc(100% - 22px);
        width: 100%;
    }
    .monaco-editor {
        .scroll-decoration {
            box-shadow: none;
        }
    }
}

.app-code-editor__header__left__toolbar{
    .left-toolbar__custom {
        box-sizing: border-box;
        color: rgb(81, 90, 110);
        display: inline-block;
        font-family: "Microsoft YaHei";
        font-size: 14px;
        font-weight: 800;
        height: 22px;
        line-height: normal;
        margin: 0 0;
        padding: 0 0;
        vertical-align: middle;
        -webkit-box-direction: normal;
        -webkit-font-smoothing: antialiased;
        -webkit-tap-highlight-color: rgba(0, 0, 0, 0);

        .custom-select-selection {
            height: 22px;
            position: relative;
            outline: 0;            
            padding: 0 8px 0 0;
            display: block;
            box-sizing: border-box;
            cursor: pointer;
            transition: all .2s ease-in-out;
            >div {
                display: flex;
                align-items: center;                
            }
            .custom-select-selected-value {
                width: auto;
                display: block;
                height: 30px;
                line-height: 30px;
                font-size: 14px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
                padding-left: 8px;
                padding-right: 24px;
                border: 0px;
                border-radius: 0px;
                background: transparent;
                color: #9da5b4;
                padding-right: 6px;
            }
            .anticon-down {
                color: #9da5b4;
                font-size: 12px;
                transform: rotate(00deg);
                transition: transform .2s ease-in-out;
            }
        }

        .custom-select-dropdown {
            width: auto;
            opacity: 0;
            position: absolute;
            will-change: top, left;
            transform-origin: center top;
            top: 27px;
            left: 15px;
            z-index: 9999;
            max-height: 160px;
            overflow: auto;
            margin: 5px 0;
            padding: 5px 0;
            background-color: #fff;
            box-sizing: border-box;
            border-radius: 4px;
            box-shadow: 0 1px 6px rgba(0,0,0,.2);            
            transition: all .5s ease-in-out;
            .custom-select-dropdown-list {
                min-width: 100%;                
                list-style: none;
                box-sizing: border-box;
                -webkit-tap-highlight-color: transparent;
                display: block;
                margin-block-start: 1em;
                margin-block-end: 1em;
                margin-inline-start: 0px;
                margin-inline-end: 0px;
                padding-inline-start: 40px;
                color: inherit;
                font-size: inherit;
                line-height: inherit;
                padding: 0;
                margin: 0;

                .custom-select-item {
                    margin: 0;
                    line-height: normal;
                    padding: 7px 16px;
                    clear: both;
                    color: #515a6e;
                    font-size: 14px;
                    white-space: nowrap;
                    list-style: none;
                    cursor: pointer;
                    transition: background .2s ease-in-out;
                }
                .custom-select-item:hover {
                    background: #F3F3F3;
                }
                .custom-select-item-selected {
                    color: #2d8cf0;
                }
            }
        }
    }
    
    .custom-select-visible {
        .custom-select-selection{            
            box-shadow: 0 0 0 2px rgba(45,140,240,.2);
            .anticon-down {
                transform: rotate(180deg);
                transition: transform .2s ease-in-out;
            }
        }
        .custom-select-dropdown {
            opacity: 1;
            max-height: 200px;
            transition: all .5s ease-in-out;
        }
    }
}
